#include <iostream>
using namespace std;

#include "ParseGPX.h"
#include "WaypointDBSQLite3.h"
#include "ConcordePreparer.h"

//
// This program does two things: converts a GPX file to a sqlite database
// based on the gpx filename, gets the data from the sqlite database to
// prepare it for Concorde, then also creates a file for the website
// based on reading the Concorde results file.
//

int main()
{
	WaypointDBSQLite3 sqliteDB;
	//ParseGPX pg("/Users/ron/Geocaching/3693576/3693576.gpx", sqliteDB);

	sqliteDB.openDB("/Users/ron/Geocaching/3693576/3693576.gpx.db");
	ConcordePreparer preparer;
	preparer.prepare("/Users/ron/Geocaching/3693576/3693576.tsp", sqliteDB);

	cout << "!!!Hello World!!!" << endl;



	return 0;
}
